package com.bawei.demo_mvp.entity;

/**
 * @author yaotianxue
 * @description
 * @date 2025/5/12
 */
//返回数据基础类
public class BaseResponse<T> {
    private int code;//响应吗
    private String message;//响应信息
    private  T data;//数据

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}